1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
7 <meta name=
"Generator" content=
"Cocoa HTML Writer">
8 <meta name=
"CocoaVersion" content=
"949.43">
9 <style type=
"text/css">
10 p
.p1
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
}
11 p
.p2
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; min-height: 14.0px}
12 p
.p3
{margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica
; color: #0021e7}
13 p
.p4
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; min-height: 12.0px}
14 p
.p5
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
; color: #ad140d}
15 p
.p6
{margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco
}
16 span
.s1
{font: 18.0px Helvetica
}
17 span
.s2
{color: #0000ff}
18 span
.s3
{color: #000000}
19 span
.s4
{text-decoration: underline
}
20 span
.s5
{color: #001bb9}
21 span
.s6
{color: #2c7014}
22 span
.s7
{color: #606060}
23 span
.Apple-tab-span
{white-space:pre
}
27 <p class=
"p1"><span class=
"s1"><b>ControlName
</b></span><span class=
"Apple-tab-span"> </span><span class=
"Apple-tab-span"> </span><b>object to store control information of SynthDef (used internally)
</b></p>
28 <p class=
"p2"><br></p>
29 <p class=
"p1"><b>Inherits from:
</b><a href=
"../../Core/Object.html"><span class=
"s2">Object
</span></a></p>
30 <p class=
"p2"><br></p>
31 <p class=
"p2"><span class=
"Apple-tab-span"> </span></p>
32 <p class=
"p3"><span class=
"s3"><span class=
"Apple-tab-span"> </span>see
<a href=
"../../ServerArchitecture/SynthDesc.html"><span class=
"s4">SynthDesc
</span></a>,
<a href=
"../../ServerArchitecture/SynthDef.html"><span class=
"s4">SynthDef
</span></a></span></p>
33 <p class=
"p4"><span class=
"Apple-tab-span"> </span></p>
34 <p class=
"p1"><span class=
"Apple-tab-span"> </span>For an explicit creation of control names see:
<a href=
"NamedControl.html"><span class=
"s2">NamedControl
</span></a>,
<a href=
"Control.html"><span class=
"s2">Control
</span></a></p>
35 <p class=
"p4"><span class=
"Apple-tab-span"> </span></p>
36 <p class=
"p4"><span class=
"Apple-tab-span"> </span></p>
37 <p class=
"p4"><span class=
"Apple-tab-span"> </span></p>
38 <p class=
"p5"><span class=
"s3"><span class=
"Apple-tab-span"> </span></span>// example
</p>
39 <p class=
"p4"><span class=
"Apple-tab-span"> </span></p>
40 <p class=
"p5"><span class=
"s3"><span class=
"Apple-tab-span"> </span>a =
</span><span class=
"s5">SynthDescLib
</span><span class=
"s3">.global;
</span>// the global library of SynthDescs
</p>
41 <p class=
"p5"><span class=
"s3"><span class=
"Apple-tab-span"> </span>x = a.synthDescs.at(
</span><span class=
"s6">\default
</span><span class=
"s3">);
</span>// get the default SynthDesc
</p>
42 <p class=
"p6"><span class=
"Apple-tab-span"> </span>x.controls.do {
<span class=
"s5">|ctl|
</span> [
<span class=
"s6">\name
</span>, ctl.name,
<span class=
"s6">\defaultValue
</span>, ctl.defaultValue].postln };
<span class=
"s7">""</span>;
</p>